﻿(function(){function g(a,b){var c=b;return function(){0==--c&&a()}}function h(a,b){var c=CodeMirror.modes[a].dependencies;if(!c)return b();for(var e=[],d=0;d<c.length;++d)CodeMirror.modes.hasOwnProperty(c[d])||e.push(c[d]);if(!e.length)return b();c=g(b,e.length);for(d=0;d<e.length;++d)CodeMirror.requireMode(e[d],c)}CodeMirror.modeURL||(CodeMirror.modeURL="../mode/%N/%N.js");var f={};CodeMirror.requireMode=function(a,b){if(typeof a!="string")a=a.name;if(CodeMirror.modes.hasOwnProperty(a))return h(a,
b);if(f.hasOwnProperty(a))return f[a].push(b);var c=document.createElement("script");c.src=CodeMirror.modeURL.replace(/%N/g,a);var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(c,e);var d=f[a]=[b],g=0,i=setInterval(function(){if(++g>100)return clearInterval(i);if(CodeMirror.modes.hasOwnProperty(a)){clearInterval(i);f[a]=null;h(a,function(){for(var a=0;a<d.length;++a)d[a]()})}},200)};CodeMirror.autoLoadMode=function(a,b){CodeMirror.modes.hasOwnProperty(b)||CodeMirror.requireMode(b,
function(){a.setOption("mode",a.getOption("mode"))})}})();